#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
    int n = 0;

    while (scanf("%d", &n) == 1)
        for (int i = 0; i < n; i++)
        {
            for (int m = 0; m < n - 1 - i; m++)
                printf("  ");
            for (int j = 0; j <= i; j++)
                printf("* ");
            printf("\n");
        }
    return 0;
}